Skip to main content

CompleteGraph

CompleteGraph[n] gives the complete graph with n vertices Kn.

CompleteGraph[{n1,n2,…,nk}] gives the complete k-partite graph with n1+n2+⋯+nk vertices Kn1,n2,…,nk.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.